SUBDIRS = .
DIST_SUBDIRS = $(SUBDIRS) tests

if BUILD_TESTS
SUBDIRS += tests
endif

noinst_LIBRARIES = libs3fuse_base.a

libs3fuse_base_a_SOURCES = \
	config.cc \
	config.h \
	config.inc \
	logger.cc \
	logger.h \
	lru_cache_map.h \
	paths.cc \
	paths.h \
	request.cc \
	request.h \
	request_hook.h \
	s3fuse.conf.sh \
	static_list.h \
	statistics.cc \
	statistics.h \
	ssl_locks.cc \
	ssl_locks.h \
	timer.h \
	version.h \
	xml.cc \
	xml.h

dist_sysconf_DATA = s3fuse.conf

CLEANFILES = s3fuse.conf

s3fuse.conf: s3fuse.conf.sh config.inc
	./$^ > $@
